package com.pl.lc.app.controller;

import com.pl.lc.app.service.MoneyLogFeign;
import com.pl.lc.common.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @version 1.0
 * @Author 小胤
 * @Date 2024/6/13 0:22
 * @注释
 */
@RestController
@RequestMapping("/api/user")
public class MoneyLogController {
    @Autowired
    private MoneyLogFeign moneyLogFeign;
    @RequestMapping("/moneyLog")
    public R consume() {
        return moneyLogFeign.consume();
    }
    @RequestMapping("/payLog")
    public R payLog() {
        return moneyLogFeign.payLog();
    }
}
